package cn.oms.manage.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 说明：
 *
 * @author：ChenJJ
 * @date: 2023/6/16
 **/
@Data
@Accessors(chain = true)
@TableName("medicine")
public class Medicine implements Serializable {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String name;
    private Long categoryId;
    private String description;
    private BigDecimal price;
    private Integer currentNum;
}
